page {
	background-color: #eaedf2;
}

.content {
	background-color: #eaedf2;
	&-showfn {
		padding-bottom: 0rpx;
	}
	&-box {
		width: 100%;
		height: auto;
		padding-top: 20rpx;
		min-height: calc(100vh - env(safe-area-inset-top) - 200rpx);
		box-sizing: content-box;
		position: relative;
		padding-bottom: 176rpx;

		&-loading {
			text-align: center;
			padding: 20rpx 0;
		}

		.message {
			padding: 13rpx 20rpx;
		}

		.message-item {
			display: flex;
			justify-content: flex-start;
			align-items: flex-start;
			align-content: flex-start;
			flex-wrap: nowrap;
			flex-direction: row;

			.img {
				width: 78rpx;
				height: 78rpx;
				border-radius: 50%;
			}
			.content {
				padding: 20rpx 30rpx;
				max-width: 500rpx;
				border-radius: 30rpx;
				font-size: 32rpx;
				color: #fff;
			}

			.avatar_img {
				width: 67rpx;
				height: 67rpx;
				background-color: #ffecc7;
				border-radius: 50%;
				image {
					width: 100%;
					height: 100%;
				}
			}
			.grey_color {
				color: #9a9ba9;
			}
			.btn_bg {
				width: 169rpx;
				height: 73rpx;
				border-radius: 37rpx 37rpx 37rpx 37rpx;
				background-color: #fff;
			}
			.price {
				&.income {
					color: #2ba744;
				}
				
				&.expense {
					color: #e74954;
				}
			}

			.left_content {
				color: #000;
			}
			// 语音
			.contentType2 {
				display: flex;
				justify-content: space-between;
				align-items: center;
				.voice_icon {
					width: 38rpx;
					height: 38rpx;
					background-repeat: no-repeat;
					// background-size: 100%;
					background-size: contain;
				}
				.voice_icon_right {
					background-image: url(../../static/image/voice.png);
				}
				.voice_icon_right_an {
					background-image: url(../../static/image/voice.gif);
					// animation: voiceAn_right 1s linear alternate infinite;
				}
			}

			//图片
			.contentType3 {
				padding: 0;
				border-radius: 2rpx;
				background-color: transparent !important;
				.img {
					width: 200rpx;
					height: auto;
					max-width: 300rpx;
					max-height: 400rpx;
				}
			}
			.contentType3::after {
				border: none !important;
				display: none !important;
			}
			.content-type-right {
				flex-direction: row-reverse;
			}

			&.right {
				flex-direction: row-reverse;

				.content {
					background-color: #ff6166;
					margin-right: 28rpx;
					word-break: break-all;
					line-height: 36rpx;
					position: relative;

					// &::after {
					// 	content: '';
					// 	display: block;
					// 	width: 0;
					// 	height: 0;
					// 	border-top: 10rpx solid transparent;
					// 	border-bottom: 10rpx solid transparent;
					// 	border-left: 16rpx solid $uni-color-success;
					// 	position: absolute;
					// 	right: -16rpx;
					// 	top: 30rpx;
					// }
				}
			}

			&.left {
				.content {
					background-color: #fff;
					margin-left: 28rpx;
					word-break: break-all;
					line-height: 36rpx;
					position: relative;

					// &::after {
					// 	content: '';
					// 	display: block;
					// 	width: 0;
					// 	height: 0;
					// 	border-top: 10rpx solid transparent;
					// 	border-bottom: 10rpx solid transparent;
					// 	border-right: 16rpx solid $uni-text-color-inverse;
					// 	position: absolute;
					// 	left: -16rpx;
					// 	top: 30rpx;
					// }
				}
			}
		}
	}

	.input-box {
		position: fixed;
		// bottom: 0;
		left: 0;
		width: 100%;
		box-sizing: content-box;
		z-index: 999;
		// background-color: #eaeaea;
		background-color: #fff;
		padding-bottom: 56rpx;

		&-flex {
			display: flex;
			justify-content: flex-start;
			align-items: center;
			flex-wrap: nowrap;
			flex-direction: row;
			padding: 20rpx;
			box-sizing: border-box;
			image {
				width: 47rpx;
				height: 47rpx;
			}
			.icon_img {
				margin-right: 20rpx;
			}
			.icon_voice_img {
				margin-right: 30rpx !important;
				width: 34rpx !important;
				height: 48rpx !important;
			}
			.icon_btn_add {
				margin-left: 20rpx;
			}
			&-grow {
				flex-grow: 1;

				.content {
					box-sizing: border-box;
					// background-color: #fff;
					background-color: #eceff5;
					height: 80rpx;
					padding: 0 20rpx;
					border-radius: 12rpx;
					font-size: 28rpx;
					caret-color: $uni-color-success;
				}

				.voice_title {
					text-align: center;
					background-color: #ffffff;
					height: 80rpx;
					line-height: 80rpx;
					border-radius: 12rpx;
				}
			}

			.btn {
				margin-left: 20rpx;
				background-color: #2ba744;
				border: none;
			}
		}

		.fun-box {
			// opacity: 0;
			// transition: all 0.1s ease-in-out;
			height: 52rpx;
			background-color: #fff;
			// .grid-text{
			// 	padding-top: 10rpx;
			// 	color: $uni-text-color-grey;
			// }
		}
		.show-fun-box {
			opacity: 1;
			height: 300rpx;
		}
	}

	.input-box-mpInputMargin {
		padding-bottom: 0rpx;
	}
	.voice_an {
		width: 348rpx;
		height: 146rpx;
		// width: 300rpx;
		// height: 300rpx;
		position: fixed;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -55%);
		background-color: #FF6166;
		color: white;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		border-radius: 27rpx;
		.text {
			font-size: 38rpx;
			padding: 20rpx 0rpx;
		}
		@keyframes runVoice {
			0% {
				height: 10%;
			}
			20% {
				height: 50%;
			}
			50% {
				height: 100%;
			}
			80% {
				height: 50%;
			}
			100% {
				height: 0%;
			}
		}
		.wave {
			width: 10rpx;
			height: 100%;
			margin-left: 10rpx;
			border-radius: 50rpx;
			background-color: #fff;
			vertical-align: middle;
			display: inline-block;
		}
		.voice_an_icon {
			// width: 200rpx;
			height: 40rpx;
			line-height: 50rpx;
		}
		.voice_an_icon #one {
			animation: runVoice 0.6s infinite 0.1s;
		}
		.voice_an_icon #two {
			animation: runVoice 0.6s infinite 0.3s;
		}
		.voice_an_icon #three {
			animation: runVoice 0.6s infinite 0.6s;
		}
		.voice_an_icon #four {
			animation: runVoice 0.6s infinite 0.1s;
		}
		.voice_an_icon #five {
			animation: runVoice 0.6s infinite 0.3s;
		}
		.voice_an_icon #six {
			animation: runVoice 0.6s infinite 0.6s;
		}
		.voice_an_icon #seven {
			animation: runVoice 0.6s infinite 0.1s;
		}
		.voice_an_icon #eight {
			animation: runVoice 0.6s infinite 0.3s;
		}
		.voice_an_icon #night {
			animation: runVoice 0.6s infinite 0.6s;
		}
		.voice_an_icon #ten {
			animation: runVoice 0.6s infinite 0.1s;
		}
		.voice_an_icon #elevent {
			animation: runVoice 0.6s infinite 0.3s;
		}
		.voice_an_icon #twelve {
			animation: runVoice 0.6s infinite 0.6s;
		}
		.voice_an_icon #thirteen {
			animation: runVoice 0.6s infinite 0.1s;
		}
		
	}
}
.promptList{
	background-color:  #DADCE4;
	border-radius: 24rpx;
	padding: 10rpx 20rpx;
	font-size: 28rpx;
}
.voice_btn{
	padding: 20rpx 30rpx;
	// background-color: #e74954;
	// color: #FFF;
	color: #424242;
	font-size: 32rpx;
	margin-left: 10rpx;
	border-radius: 20rpx;
}
.convert {
	color: #000 !important;
	background-color: #dadce4 !important;
}
